﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:vm="clr-namespace:PocketBook.UI.ViewModel"
                    xmlns:vmw="clr-namespace:PocketBook.UI.ViewModel.Workspaces"
                    xmlns:vww="clr-namespace:PocketBook.UI.View.Workspaces"
                    xmlns:vmd="clr-namespace:PocketBook.UI.ViewModel.Dialogs"
                    xmlns:vwd="clr-namespace:PocketBook.UI.View.Dialogs">
    
    <!--WORKSPACES-->
    
    <DataTemplate DataType="{x:Type vmw:FileWorkspaceViewModel}">
        <vww:FileWorkspaceView />
    </DataTemplate>
    
    <DataTemplate DataType="{x:Type vmw:ExpensesWorkspaceViewModel}">
        <vww:ExpensesWorkspaceView />
    </DataTemplate>

    <DataTemplate DataType="{x:Type vmw:IncomesWorkspaceViewModel}">
        <vww:IncomesWorkspaceView />
    </DataTemplate>

    <DataTemplate DataType="{x:Type vmw:StatusWorkspaceViewModel}">
        <vww:StatusWorkspaceView />
    </DataTemplate>

    <!--DIALOGS-->
    
    <DataTemplate DataType="{x:Type vmd:AboutDialogViewModel}">
        <vwd:AboutDialogView />
    </DataTemplate>

    <DataTemplate DataType="{x:Type vmd:ConfirmDialogViewModel }">
        <vwd:ConfirmDialogView />
    </DataTemplate>

    <DataTemplate DataType="{x:Type vmd:AddOrUpdateExpenseViewModel}">
        <vwd:AddOrUpdateExpenseView />
    </DataTemplate>

    <DataTemplate DataType="{x:Type vmd:AddOrUpdateIncomeViewModel}">
        <vwd:AddOrUpdateIncomeView />
    </DataTemplate>

</ResourceDictionary>